﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo2
{
    class Brid : Animal, IFlyable
    {
        private  string name;
        public Brid(string name) : base(name)
        {
            this.name = name;
        }
        public void TakeOff()
        {
            Console.WriteLine("{0}准备起飞飞",name);
        }
        public void Fly()
        {
            Console.WriteLine("{0}正在飞....",name);
        }

        public void Land()
        {
            Console.WriteLine("{0}到达目的地了....",name);
        }
    }
}
